<template>
	<view class="content">
		<view class="activity_newVideo" @click="clickToNewVideo">
			<image class="image" :src="newVideo_url" mode="aspectFit"></image>
		</view>
		<view class="activity_welfare" @click="clickToWelfare">
			<image class="image" :src="welfare_url" mode="aspectFit"></image>
		</view>
	</view>
</template>

<script>
	import images from '@/utils/images.js'
	import tools from '@/utils/tools.js'
	export default {
		data() {
			return{
				newVideo_url: images.square_suspension_newVideo,
				welfare_url: images.square_suspension_welfare
			}
		},
		methods: {
			clickToNewVideo() {
				tools.setup_subscribeMessage()
			},
			clickToWelfare() {
				tools.navigateToWelfare()
			},
		}
	}
</script>

<style lang="scss">
	.content{
		display: flex;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		
		.activity_newVideo{
			width: 212rpx;
			height: 218rpx;
			// background-color: orange;
			.image{
				width: 100%;
				height: 100%;
			}
		}
		.activity_welfare{
			width: 200rpx;
			height: 106rpx;
			margin-top: 20rpx;
			// background-color: green;
			.image{
				width: 100%;
				height: 100%;
			}
		}
	}
</style>